package com.micro.service.gateway.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author lvxiucai
 * @description
 * @date 2019/9/5
 */
@Data
public class UserTokenInfo implements Serializable {
    private static final long serialVersionUID = -3103592839299151269L;

    private Long userId;

    private Integer userType;
    /**
     * 昵称
     */
    private String username;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 权限列表
     */
    private List<String> authorities;
    /**
     * 可操作域
     */
    private List<String> scope;

    /**
     * access_token令牌
     */
    private String accessToken;


}
